#!/usr/bin/env python

from samba_utils import MODE_755

bld.INSTALL_WILDCARD('${SETUPDIR}', 'ad-schema/*.txt')
bld.INSTALL_WILDCARD('${SETUPDIR}', 'display-specifiers/*.txt')

bld.INSTALL_FILES('${SBINDIR}', 'provision', chmod=MODE_755, python_fixup=True)

bld.INSTALL_FILES('${SETUPDIR}', 'dns_update_list')
bld.INSTALL_FILES('${SETUPDIR}', 'spn_update_list')

for p in '''schema-map-* DB_CONFIG *.inf *.ldif *.reg *.zone *.conf *.php *.txt
            named.conf named.conf.update provision.smb.conf.dc provision.smb.conf.member
            provision.smb.conf.standalone'''.split():
    bld.INSTALL_WILDCARD('${SETUPDIR}', p)

